package com.oocl.vo;
/**
 * @description: 食品
 * @author  XIEMI2
 * @date Aug 4, 2017 4:47:49 AM
 * @version 1.0
 */

public class MerchandiseVO {
	private String merchandiseId;
	private int count;    //数量
	private String name;   //名称
	private double price;  //金额
	private String img;
	private String merchantName;
	private double totalMoney;
	
	public MerchandiseVO() {
		super();
	}

	//merchandiseId, current_count, name, price, merchantName, totalMoney
	/**
	 * 
	 * @param id
	 * @param count
	 * @param name
	 * @param price
	 * @param img
	 * @param merchantName
	 */
	public MerchandiseVO(String merchandiseId, int count, String name, double price, String img, String merchantName) {
		super();
		this.merchandiseId = merchandiseId;
		this.count = count;
		this.name = name;
		this.price = price;
		this.img = img;
		this.merchantName = merchantName;
	}

	/**
	 * 
	 * @param count
	 * @param name
	 * @param price
	 * @param merchantName
	 * @param totalMoney
	 */
	public MerchandiseVO(int count, String name, double price, String merchantName, double totalMoney) {
		super();
		this.count = count;
		this.name = name;
		this.price = price;
		this.merchantName = merchantName;
		this.totalMoney = totalMoney;
	}
	/**
	 * 
	 * @param id
	 * @param count
	 * @param name
	 * @param price
	 * @param img
	 * @param merchantName
	 * @param totalMoney
	 */
	public MerchandiseVO(String merchandiseId, int count, String name, double price, String img, String merchantName, double totalMoney) {
		super();
		this.merchandiseId = merchandiseId;
		this.count = count;
		this.name = name;
		this.price = price;
		this.img = img;
		this.merchantName = merchantName;
		this.totalMoney = totalMoney;
	}

	/**
	 * 
	 * @param id
	 * @param name
	 * @param price
	 * @param img
	 */
	public MerchandiseVO(String merchandiseId, String name, double price, String img) {
		super();
		this.merchandiseId = merchandiseId;
		this.name = name;
		this.price = price;
		this.img = img;
	}


	public String getMerchandiseId() {
		return merchandiseId;
	}


	public void setMerchandiseId(String merchandiseId) {
		this.merchandiseId = merchandiseId;
	}


	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public double getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(double totalMoney) {
		this.totalMoney = totalMoney;
	}


	@Override
	public String toString() {
		return "MerchandiseVO [merchandiseId=" + merchandiseId + ", count=" + count + ", name=" + name + ", price=" + price + ", img=" + img + ", merchantName=" + merchantName + ", totalMoney=" + totalMoney + "]";
	}


}


